CC = g++
SRC = $(wildcard *.cc)
BIN = $(SRC:%.cc=%)

all : ${BIN}

${BIN}:%:%.cc
	${CC} $^ -o ../bin/$@ -g -Wall -lpthread

clean:
	rm -rf ../bin/*

.PHONY: all clean